package com.cloud.basic.reflection;

/**
 * @program: basic
 * @description:
 * @author: Cloud
 * @create: 2020/11/27 14:26:48
 */
public class Car {

    private String mBand;

    private Color mColor;

    public enum Color{
        RED,
        YELLOW,
        BLACK,
        WHITE,
        BLUE
    }

    public Car(){
        super();
    }


    public String getmBand() {
        return mBand;
    }

    public void setmBand(String mBand) {
        this.mBand = mBand;
    }

    public Color getmColor() {
        return mColor;
    }

    public void setmColor(Color mColor) {
        this.mColor = mColor;
    }

    public void drive(){
        System.out.println("di,di,di,开车了！");
    }

    @Override
    public String toString() {
        return "Car{" +
                "mBand='" + mBand + '\'' +
                ", mColor=" + mColor +
                '}';
    }
}
